<template>
	<view class="head">
		<text>{{ title }}</text>
	</view>
</template>

<script>
	export default {
		props: {
			title: {
				type: String,
				default: '顶部栏',
			},
		},
		name:"MyHead"
	}
</script>

<style lang="less">
	//-------------顶部栏
	.head{
		height: 175rpx;
		background-color: #0d122B;
		display: flex;
		justify-content: space-around;
		text{
			width: 363rpx;
			font-size: 19px;
			height: 57rpx;
			text-align: center;
			color: aliceblue;
			margin-top: 110rpx;
		}
	}
</style>